package com.party.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.party.business.domain.TheoreticalDoctrine;
import org.apache.ibatis.annotations.Mapper;

/**
 * 理论法规Mapper接口
 *
 * @author ruoyi
 * @date 2025-06-24
 */
@Mapper
public interface TheoreticalDoctrineMapper  extends BaseMapper<TheoreticalDoctrine>
{
    /**
     * 查询理论法规
     *
     * @param id 理论法规主键
     * @return 理论法规
     */
    public TheoreticalDoctrine selectTheoreticalDoctrineById(Long id);

    /**
     * 查询理论法规列表
     *
     * @param theoreticalDoctrine 理论法规
     * @return 理论法规集合
     */
    public List<TheoreticalDoctrine> selectTheoreticalDoctrineList(TheoreticalDoctrine theoreticalDoctrine);

    /**
     * 新增理论法规
     *
     * @param theoreticalDoctrine 理论法规
     * @return 结果
     */
    public int insertTheoreticalDoctrine(TheoreticalDoctrine theoreticalDoctrine);

    /**
     * 修改理论法规
     *
     * @param theoreticalDoctrine 理论法规
     * @return 结果
     */
    public int updateTheoreticalDoctrine(TheoreticalDoctrine theoreticalDoctrine);

    /**
     * 删除理论法规
     *
     * @param id 理论法规主键
     * @return 结果
     */
    public int deleteTheoreticalDoctrineById(Long id);

    /**
     * 批量删除理论法规
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTheoreticalDoctrineByIds(Long[] ids);
}
